import requests
from config import RunConfig

def 下载报告单(para):
    response = requests.get(
        url=RunConfig.url + "out/work/check/down?id=&templateCode=",
        headers=RunConfig.headers,
        verify=False
    )
    return response


def 查询报告单(para):
    response = requests.get(
        url=RunConfig.url + "out/work/check/info?applicantUnitId=&projectExtId=&stageId=",
        headers=RunConfig.headers,
        verify=False
    )
    return response


def 保存报告单(para):
    response = requests.post(
        url=RunConfig.url + "/out/work/check/save",
        headers=RunConfig.headers,
        json=para,
        verify=False
    )
    return response
